package admin

import (
	auto "beergo/app/hr/auto/controller"
	"beergo/app/hr/conf"
	"github.com/beego/beego/v2/server/web"
)

type DegreeAdminController struct {
	auto.DegreeController
}

func init() {
	web.Router(conf.UrlPrefixAdmin + "/Degree/:id", 		&DegreeAdminController{}, "*:GetAction")
	web.Router(conf.UrlPrefixAdmin + "/Degree/info", 		&DegreeAdminController{}, "*:InfoAction")
	web.Router(conf.UrlPrefixAdmin + "/Degree/scan", 		&DegreeAdminController{}, "*:ScanAction")
	web.Router(conf.UrlPrefixAdmin + "/Degree/list", 	    &DegreeAdminController{}, "*:ListAction")
	web.Router(conf.UrlPrefixAdmin + "/Degree/update", 	&DegreeAdminController{}, "*:UpdateAction")
	web.Router(conf.UrlPrefixAdmin + "/Degree/create", 	&DegreeAdminController{}, "*:CreateAction")
	web.Router(conf.UrlPrefixAdmin + "/Degree/copy", 	    &DegreeAdminController{}, "*:CopyAction")
	web.Router(conf.UrlPrefixAdmin + "/Degree/edit", 	    &DegreeAdminController{}, "*:EditAction")
	web.Router(conf.UrlPrefixAdmin + "/Degree/delete", 	&DegreeAdminController{}, "*:DeleteAction")
	web.Router(conf.UrlPrefixAdmin + "/Degree/:id/:field", &DegreeAdminController{}, "*:SonsAction")
	web.Router(conf.UrlPrefixAdmin + "/Degree/choice", &DegreeAdminController{}, "*:ChoiceAction")
	web.Router(conf.UrlPrefixAdmin + "/Degree/category", &DegreeAdminController{}, "*:CategoryAction")
}
//func (this *DegreeAdminController) Prepare() {}
//func (this *DegreeAdminController) ListAction() {}
//func (this *DegreeAdminController) GetAction() {}
//func (this *DegreeAdminController) InfoAction() {}
//func (this *DegreeAdminController) ScanAction() {}
//func (this *DegreeAdminController) CreateAction() {}
//func (this *DegreeAdminController) UpdateAction() {}
//func (this *DegreeAdminController) CopyAction() {}
//func (this *DegreeAdminController) DeleteAction() {}
//func (this *DegreeAdminController) EditAction() {}
//func (this *DegreeAdminController) SonsAction() {}
//func (this *DegreeAdminController) ChoiceAction() {}
//func (this *DegreeAdminController) CategoryAction() {}
